//
//  STNavTestViewController.m
//  STNewTools
//
//  Created by apple on 17/3/29.
//  Copyright © 2017年 stoneobs. All rights reserved.
//

#import "STNavTestViewController.h"
#import "UIView+STDirection.h"
#import "UIImage+STTools.h"
#define SCREEN_WIDTH  [UIScreen mainScreen].bounds.size.width
@interface STNavTestViewController ()

@end

@implementation STNavTestViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageWithColor:[UIColor whiteColor] size:CGSizeMake(SCREEN_WIDTH, 64)] forBarMetrics:UIBarMetricsDefault];
    [self.navigationController.navigationBar setShadowImage:[UIImage imageWithColor:[UIColor redColor] size:CGSizeMake(SCREEN_WIDTH, 1)]];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
